using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace au.Swindles.LoanDataService.ObjectLayer
{
    public class Application
    {
        private int _applicationID = 0;
        private int _customerID = 0;
        private int _quoteID = 0;
        private decimal _assetValue = 0;
        private decimal _annualIncome = 0;
        private decimal _annualExpense = 0;
        private string _applicationStatus = string.Empty;
        private DateTime _statusUpdateDate;
        private int _statusUpdateUserID = 0;
        private string _comments = string.Empty;
        /// <summary>
        /// 
        /// </summary>
        public Application()
		{
			
		}
        public Application(int pApplicationID, int pCustomerID, int pQuoteID, decimal pAssetValue, decimal pAnnualIncome, decimal pAnnualExpense, string pApplicationStatus, DateTime pStatusUpdateDate, int pStatusUpdateUserID, string pComments)
        {
            _customerID = pCustomerID;
            _applicationID = pApplicationID;
            _quoteID = pQuoteID;
            _assetValue = pAssetValue;
            _annualIncome = pAnnualIncome;
            _annualExpense = pAnnualExpense;
            _applicationStatus = pApplicationStatus;
            _statusUpdateDate = pStatusUpdateDate;
            _statusUpdateUserID = pStatusUpdateUserID;
            _comments = pComments;
        }

        /// </summary>
        public int ApplicationID
        {
            get {return _applicationID;}
            set { _applicationID = value;}
        }

        public int CustomerID
        {
            get { return _customerID; }
            set { _customerID = value; }
        }

        public int QuoteID
        {
            get { return _quoteID; }
            set { _quoteID = value; }
        }
        public decimal AssetValue
        {
            get { return _assetValue; }
            set { _assetValue = value; }
        }
        public decimal AnnualIncome
        {
            get { return _annualIncome; }
            set { _annualIncome = value; }
        }
        public decimal AnnualExpense
        {
            get { return _annualExpense; }
            set { _annualExpense = value; }
        }
        public string ApplicationStatus
        {
            get { return _applicationStatus; }
            set { _applicationStatus = value; }
        }
        public DateTime StatusUpdateDate
        {
            get { return _statusUpdateDate; }
            set { _statusUpdateDate = value; }
        }
        public int StatusUpdateUserID
        {
            get { return _statusUpdateUserID; }
            set { _statusUpdateUserID = value; }
        }
        public string Comments
        {
            get { return _comments; }
            set { _comments = value; }
        }
     
    }
}
